package global

// 积分
var (
	BG_CURRENT_INTERGRAL = 0.00 //本期总积分
	BG_PROBABILITY       = 3    //游戏概率设置，1大输，2小输，3小赢，4大赢
)

var (
	//游戏玩法
	BG_JIAO  = 1 //角
	BG_FAN   = 2 //翻
	BG_ZHENG = 3 //正
	BG_NIAN  = 4 //念
	// 玩法赔率
	BG_ODDS_JIAO  = 2 //角
	BG_ODDS_FAN   = 4 //翻
	BG_ODDS_ZHENG = 2 //正
	BG_ODDS_NIAN  = 3 //念
	BG_ODDS_BRAW  = 1 //平局
)

// 游戏期数和时间
var (
	BG_INITIAL_ANSWERID   = 1111111                 //初始化期数
	BG_CURRENT_ANSWERID   = BG_INITIAL_ANSWERID     //当前期数
	BG_NEXT_ANSWERID      = BG_CURRENT_ANSWERID + 1 //下一期数
	BG_GAME_WAIT_TIME     = 4*60 + 15               //竞猜等待开答案时间 秒级
	BG_GAME_OPEN_TIME     = 45                      //答案开放时间
	BG_GAME_RUN_WAIT_TIME = BG_GAME_WAIT_TIME       //等待时间倒计时
	BG_GAME_RUN_OPEN_TIME = BG_GAME_OPEN_TIME       //开奖时间倒计时
)

var (
	BG_FT_NUMBERS_ENDANSWER  = BG_CURRENT_ANSWERID
	BG_FT_NUMBERS_STARANSWER = BG_CURRENT_ANSWERID
	BG_FT_NUMBERS            = make([]int, 0)
)

var (
	BG_FAIL = 0 //失败
	BG_WIN  = 1 //胜利
	BG_DRAW = 2 //平局
)

var (
	RETURNED_WATER = 0.012 //回水比例
)
